package com.zhangwei.moni_two.entity;

import java.math.BigInteger;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class User {

	private BigInteger id;
	
	private String userName;
	
	private String password;
	
	private String loginName;
	
	private Integer sex;
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date createTime;
	
	private Integer loqinStatus;

	private Integer count;

	public BigInteger getId() {
		return id;
	}

	public void setId(BigInteger id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getLoqinStatus() {
		return loqinStatus;
	}

	public void setLoqinStatus(Integer loqinStatus) {
		this.loqinStatus = loqinStatus;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", userName=" + userName + ", password=" + password + ", loginName=" + loginName
				+ ", sex=" + sex + ", createTime=" + createTime + ", loqinStatus=" + loqinStatus + ", count=" + count
				+ "]";
	}
	
	
	
	
	
	
}
